package com.violet.service.manager;

import com.violet.domain.dto.manager.MProductDto;
import com.violet.domain.result.ResultPage;
import com.violet.domain.search.MyPage;
import com.violet.domain.search.manager.MProductSearch;
import com.violet.domain.vo.manager.MProductVo;

import java.util.List;

public interface MProductService {
    ResultPage<List<MProductVo>> search(MProductSearch search, MyPage myPage);

    MProductVo create(MProductDto dto);

    Boolean deleteById(String id);

    MProductVo updateById(String id, MProductDto dto);

    MProductVo addTag(String id, String tags);

    MProductVo deleteTag(String id, String tags);
}
